import "./App.css";
import MsgContext from "./pages/父子组件通信/createContext";
import router from "./router";
import { RouterProvider } from "react-router-dom";

// import { produce } from "immer"; // 直接修改useState的引用类型，不用拓展运算符替换
// css使用tailwind css，动态class用classnames
// js使用radash

function App() {
  return (
    <div>
      <MsgContext.Provider value={789}>
        <RouterProvider router={router} />
      </MsgContext.Provider>
    </div>
  );
}

export default App;
